import requests

base_url = "http://118.121.200.162:8086/api/v5/department"

p = {
    "type": "group",
}

requests = requests.get(base_url, params=p)
requests_code = str(requests.status_code)
assert "200" in requests_code